package com.xdl.flytest.dao;

import com.xdl.flytest.bean.Interface;

import java.util.List;

public interface InterfaceMapper {
    int deleteByPrimaryKey(Integer interfaceId);

    int insert(Interface record);

    int insertSelective(Interface record);

    Interface selectByPrimaryKey(Integer interfaceId);

    Interface selectByPrimaryKeyWithProject(Integer interfaceId);

    int updateByPrimaryKeySelective(Interface record);

    int updateByPrimaryKey(Interface record);

    List<Interface> selectAllInterfaces();

    Interface selectByInterfaceName(String interfaceName);

    void updateByInterfaceName(Interface in);

    List<Interface> selectByProjectId(Integer projectId);
}